package com.bdk.middle.goods.api.domain;

import com.bdk.middle.common.domain.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class SkuDO extends BaseDO {

    @ApiModelProperty("应用ID")
    private String appId;

    @ApiModelProperty("SPUID")
    private String spuId;

    @ApiModelProperty("商品ID")
    private String goodsId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("折扣价")
    private BigDecimal discountPrice;

    @ApiModelProperty("金豆子数")
    private Integer beanNumber;

    @ApiModelProperty("金元宝数")
    private Integer coinNumber;

    @ApiModelProperty("库存数")
    private Integer stock;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("对应商品")
    private GoodsDO goodsDO;

    @ApiModelProperty("对应商品")
    private GoodsImagesDO goodsImagesDO;
}
